package com.ccn.crm.mapper;

import com.ccn.crm.model.Project;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Project record);
    int selectOrder();

    Project selectByPrimaryKey(Integer id);
    List<Project> selectByProductId(Integer id);

    List<Project> selectAll();

    int updateByPrimaryKey(Project record);
    int updateByProductId(String RelationProject);
    int updatePoByProductId(Project record);
}